var request = require('request');
request({
    method: "get",
    url: "http://localhost:8128/api/query/monitorPoints"
}, function(error, response, body) {
    if (!error && response.statusCode === 200) {
        var list = JSON.parse(body);
        list.forEach(function(item) {
            console.log(item);
        });
    }
});
